package com.bjsxt.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @author:liao
 * @Description:TODO 供应商DTO
 * @date:2020/12/21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "com-bjsxt-dto-ProviderDto")
public class ProviderDto extends BaseDto {

    //供应商id
    @ApiModelProperty(value = "供应商id")
    private Long providerId;
    // 供应商名称
    @ApiModelProperty(value = "供应商名称")
    @NotBlank(message = "供应商名称不能为空")
    private String providerName;
    // 联系人名称
    @ApiModelProperty(value = "联系人名称")
    @NotBlank(message = "联系人名称不能为空")
    private String contactName;
    // 联系人手机号
    @ApiModelProperty(value = "联系人手机号")
    @NotBlank(message = "联系人手机号不能为空")
    private String contactMobile;
    // 联系人电话号
    @ApiModelProperty(value = "联系人电话号")
    private String contactTel;
    // 银行账号
    @ApiModelProperty(value = "银行账号")
    @NotBlank(message = "银行账号不能为空")
    private String bankAccount;
    //供应商地址
    @ApiModelProperty(value = "供应商地址")
    private String providerAddress;
    // 供应商状态 0正常 1停用
    @NotBlank(message = "状态不能为空")
    @ApiModelProperty(value = "供应商状态 0正常 1停用")
    private String status;

}
